package org.xiaom.butler.bean;

import java.util.List;
import java.util.Map;
public class Hotel {
	private Integer id;
	private String name;
	private String phone;
	private String cityNumber;
	private String imagePath;
	private Integer version=1;
	private List<Department> departments;
	private Map<String,String> config;
	public Hotel() {
		super();
		this.version=0;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCityNumber() {
		return cityNumber;
	}

	public void setCityNumber(String cityNumber) {
		this.cityNumber = cityNumber;
	}

	public List<Department> getDepartments() {
		return departments;
	}

	public void setDepartments(List<Department> departments) {
		this.departments = departments;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}
	
	 

	public Map<String, String> getConfig() {
		return config;
	}

	public void setConfig(Map<String, String> config) {
		this.config = config;
	}

	@Override
	public String toString() {
		return "Hotel [id=" + id + "]";
	}
}
